<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .color {
            width: 240px;
            height: 240px;
            background-color: orangered;
        } 
    </style>
</head>

<body>
    
    <div id="app">
        <input type="text" v-model="score">
        <p v-if="score>=90">
            A:棒棒棒
        </p>
        <p v-else-if="score>=80">
            B:不错不错
        </p>
        <p v-else-if="score>=70">
            C:还可以
        </p>
        <p v-else>
            D:加油
        </p>
    </div>
    <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.14/vue.js"></script>

    <script>
        var vm = new Vue({
            el: "#app",
            data: {
                score: 90,
               
            },
            methods: {
                
            }


        })
    </script>
</body>

</html>